<template>
  <view>
    <cityPicker  @click="bindClick" />
  </view>
</template>

<script>
import cityPicker from "../../components/cityPicker/uni-indexed-list.vue";
export default {
  components: {cityPicker},
  data() {
    return {
      
    };
  },
  methods: {
    bindClick(e) {
      // console.log('点击item，返回数据' ,e);
      this.$store.commit('updataLocation',{name:e.item.name,code:e.item.code});
      uni.navigateBack({
				delta:1
			})
    }
  },
};
</script>

<style scoped lang="scss"></style>
